Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed compile errors caused by conversion from int to uint16_t #3395

Merged

Conversation

mramezani95
Copy link
Contributor

What I did
Fixed 3 narrowing conversion issues in the code.

Why I did it
g++ 9.4.0 and 10.5.0 both reported compile errors when trying to compile aclorch.cpp using -Werror and -Wconversion flags.

How I verified it
I compiled the code using g++ 10.5.0 after the changes it was successful.

Details if related

@mramezani95 mramezani95 force-pushed the mramezani/fix_narrowing_conversion branch from 5572391 to 439b172 Compare November 26, 2024 21:10
@prsunny prsunny merged commit a9080f7 into sonic-net:master Nov 27, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants